@charset 'utf-8';

@mixin img(){
    width: 100%;
    height: 100%;
}
section{
    aside{
        .nav{
            width: 1000px;
            margin: 24px auto;
            font-size: 13px;
            color:#444f58;
            a{
                color:#444f58;
            }
        }
        .brand{
            width: 100%;
            height: 300px;
            border-top: 1px solid #dfdfdf;
            overflow: hidden;
            position: relative;
            img{
                @include img();
            }
            .text{
                position: absolute;
                left: 0;
                bottom:0;
                width: 100%;
                background: rgba(0,0,0,0.7);
                height: 100px;
                .AD-logo{
                    width: 100px;
                    height: 100px;
                    margin-top: -17px;
                    margin-left: 205px;
                    overflow: hidden;
                    border-radius: 2px;
                    img{
                        @include img();
                    }
                }
                .ad-info{
                    margin-top: 18px;
                    margin-left: 27px;
                    p{
                        strong{
                            font-size: 18px;
                            color: white;
                            letter-spacing: 1px;
                        }
                        &:nth-child(2){
                            color: white;
                            font-size: 14px;
                            margin-top: -12px;
                        }
                    }
                }
                .ad-text{
                    margin-top: 22px;
                    margin-right: 211px;
                        input{
                            margin-right: 13px;
                            width: 58px;
                            height: 26px;
                            border-radius: 3px;
                            color: white;
                            font-size: 14px;
                            line-height: 26px;
                            background: #e60012;
                        }
                    }
            }
        }
    }
    article{
        .article-title{
            width: 958px;
            height: 52px;
            margin: 12px auto 14px;
            border: 1px solid #efefef;
            .article-navbar{
                width: 138px;
                height: 52px;
                border-right:1px solid #efefef ;
                li{
                    span{
                        font-size: 14px;
                        color: #444f58;
                        line-height: 52px;
                    }
                }
                margin-left: 28px;
                span{
                    padding-right: 40px;
                    a{
                        font-size: 14px;
                        color: #444f58;
                        line-height: 52px;
                        &:hover,&.active{
                            color:#e60012 ;
                        }
                    }
                }
            }
            .radio{
                font-size: 14px;
                color: #444f58;
                line-height: 52px;
                margin-left: 24px;
                label{
                    margin-right: 24px;
                }
                input{
                    position: relative;
                    top: 2px;
                }
            }
            p{
                line-height: 52px;
                span{
                    font-size: 14px;
                    color: #99999a;
                    padding-right: 24px;
                    strong{
                        color: #444f58;
                    }
                    b{
                        &:nth-child(1){
                            color: #e60012;
                        }
                    }
                }
            }
        }
        .shop{
            width: 960px;
            margin: 0 auto;
            li{
                float: left;
                width: 232px;
                height: 289px;
                margin-right: 10px;
                &:nth-child(4n){
                    margin-right: 0;
                }
                div{
                    width: 230px;
                    height: 230px;
                    margin-bottom: 9px;
                    border: 1px solid #efefef;
                    overflow: hidden;
                    img{
                        @include img();
                        transition: all 0.5s;
                        &:hover{
                            transform: scale(1.2);
                            transition: all 0.5s;
                        }
                    }
                }
                p{
                    font-size: 14px;
                    color: #444f58;
                    line-height: 24px;
                    &:nth-child(2){
                        color: #99999a;
                    }
                }
            }
        }
    }
    .page{
        width: 960px;
        margin:40px auto 49px;
        .link{
            width: 445px;
            li{
                float: left;
                width: 36px;
                height: 36px;
                border: 1px solid #e7e7e7;
                margin-right: 9px;
                line-height:36px; 
                position:relative; 
                border-radius:2px; 
                &:hover,&.active{
                    border-color: #eb413d;
                }
                &:last-child{
                    margin-right: 0;
                }
                &:nth-last-child(2){
                    width: 66px;
                    height: 36px;
                }
                &:nth-child(5){
                    button{
                        font-weight: bold;
                    }
                }
                &:nth-child(5),&:nth-child(7){
                    border: none;
                }
                input{
                    position: absolute;
                    top: 0;
                    text-indent: 8px;
                    width: 36px;
                    height: 36px;
                    border-radius:2px; 
                    border: none;
                }
                button{
                    position: absolute;
                    top: 0;
                    width: 100%;
                    height: 100%;
                     border-radius:2px; 
                    background: white;
                    color: #444f58;
                    font-size: 13px;
                    &:focus{
                        outline: none;
                    }
                }
                span{
                    color: #444f58;
                    font-size: 13px;
                }
                
            }
        }
    }
}